peruse at your leisure
Home About Projects Blog Games Contact SupportThere aren't that many web pages on this site (which I should work on!), and what
is there is pretty simple, and could even be replaced by plain .txt files, sans
working hyperlinks, if needed. Double clicking with a mouse usually highlights a full
token/word regardless. I've not really been using markdown much and it lacks a standard
for html ids/classes and other things that I've had to manually add in anyway.
The perl command to get a working relative path between two local files, having
to fix the links, and still having some end up broken isn't worth it either.
With that said, going along with my never-ending minimalist kick to see how
little is needed for my computing environment in general, I've removed the
build_site.sh script and all markdown .md files.
Instead, I'll copy an existing
template html page
to use for new webpages,
and will write only plain html for now (the only css is in the <style> part of
the <head> section, the only javascript is on the old games pages).
This is a lot simpler and faster to build (there is no build step, the .html page
is the final product), for marginally more effort on my end.
I could also use this opportunity to study other built-in features of html where useful.
I'll still think on having plain .txt files in the future though.
Browsers display them fine, it would look the same everywhere, line breaks would be
supported without needing <br />, being able to use '<' and
'>' without ampersand-l-t-; or ampersand-g-t-; (really annoying!),
and it could be styled by emulating old walkthroughs on GameFAQs.
The lack of easy link clicking is the main downside to it.
Time for the "yearly" update. Switched to using markdown (the plain 'markdown' package for e.g. FreeBSD) for generating html pages for this site. It's a bit less work than writing plain html into .txt files, which is nice! But not a huge amount less. Also added FAQ section to about page. Planning on adding other blog posts or project articles/links, if I ever get around to it.
Since source hut recently finished their static site hosting, I've moved this site to source hut pages. It was easy enough and their quick start had short simple instructions. So this is now auto built on source hut builds from a given .yml file in the repo, which is now public. Maybe I'll find time to update the site more, maybe not. Currently moving all current git repos, on gitlab, to source hut since I'm paying for it now and I like the site's philosophy and minimalist design. Only issue is that minesweeper broke, but it could use a refactor/rewrite anyway, along with the other games.
Rewrote majority of site to use a small shell script (see 'build_site.sh' in repo), after attempting to do the same in plain C, which was not worth the effort. It creates/replaces .html files from given .txt files with a template "header", the txt file content (currently plain html also), and a "footer" (which is currently empty but may have a future use). Removed any plain .css files and replaced/rewrote styling using minimal css inserted into the style line of the head element of all the normal .html files. Might change more in the future for less effort writing the .txt files, maybe writing a simple homemade markdown parser or other small syntax, if the want arises.